function on_sub() {
    window.location.href="/mvc/index.php?m=index&c=update&f=userup";
}
function btn() {
    var mymessage=confirm("确定要退出登录吗？");
    if(mymessage == true){
        window.location.href="/mvc/index.php?m=index&c=login&f=userlogin";
        return true;
    }else {
        window.location.href="/mvc/index.php?m=index&c=home&f=userhome";
        return false;
    }
}
function bti(){
    window.location.href="/mvc/index.php?m=index&c=insert&f=dateinsert";
}